package com.thon.dao.util;

import com.thon.entity.util.IdEntity;

/**
 * @author THON
 * @mail thon.ju@meet-future.com
 * @date 2012-2-13 下午03:09:13
 * @description
 */
public interface BaseDao<E extends IdEntity> {

	E get(int id);

	void save(E entity);

	void update(E entity);

	void delete(E entity);

	void delete(int id);

}
